package com.maykk.Demo01;

public class Teacher extends Person {
    private int jobAge;
    Teacher() {}
    Teacher(int jobAge, String name, int age) {
        super(name, age);
//        this.jobAge = jobAge;
    }
    public void teach() {
        System.out.println("老师会教");
    }
}
